package com.reebake.ideal.permission.client;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface RoleClient {

    @GetMapping("query-code-by-user-id/{userId}")
    public List<String> queryCodeByUserId(@PathVariable("userId") String userId);

}
